//
//  HLUserAccountViewModel.h
//  weibo-OC
//
//  Created by 黄力 on 15/12/15.
//  Copyright © 2015年 HLTest. All rights reserved.
//

#import <Foundation/Foundation.h>

//自定义block
typedef void (^FinshBlock)(BOOL success);

@interface HLUserAccountViewModel : NSObject

//取出用户的登录状态
+ (BOOL)getUserLogin;
//取出用户头像
+  (NSString *)getUserImage;
//取出用户昵称
+ (NSString *)getUserName;
//取出用户token
+ (NSString *)getUserToken;

//进行网络请求
+ (void)loadTokenWithCode:(NSString *)code withFinshBlock:(FinshBlock)finshBlock;

@end
